const path = "https://mock.apifox.cn/m1/1194686-0-default/cabinet/"

function getCabinetByName (name:string){

    return fetch(path + name{
        method: 'GET',
    }).then((res)=>{
        console.log(res)
        res.json()
    })
}

export {getCabinetByName}